projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
306563a
)
edminiv2: add I2C support using mvtwsi driver
author
Albert Aribaud
<
[email protected]
>
Fri, 27 Aug 2010 16:26:06 +0000
(18:26 +0200)
committer
Heiko Schocher
<
[email protected]
>
Mon, 30 Aug 2010 12:10:45 +0000
(14:10 +0200)
Signed-off-by: Albert Aribaud <
[email protected]
>
Acked-by: Prafulla Wadaskar<
[email protected]
>
Acked-by: Heiko Schocher<
[email protected]
>
include/configs/edminiv2.h
patch
|
blob
|
history
diff --git
a/include/configs/edminiv2.h
b/include/configs/edminiv2.h
index 57dd1651f36e71c40ce5c679c89e9e3fe5cf96a7..ccfc66053b5627553ccd9730b67ae949a37430b3 100644
(file)
--- a/
include/configs/edminiv2.h
+++ b/
include/configs/edminiv2.h
@@
-132,6
+132,7
@@
*/
#include <config_cmd_default.h>
#define CONFIG_CMD_IDE
+#define CONFIG_CMD_I2C
/*
* Network
@@
-181,6
+182,16
@@
/* end of IDE defines */
#endif /* CMD_IDE */
+/*
+ * I2C related stuff
+ */
+#ifdef CONFIG_CMD_I2C
+#define CONFIG_I2C_MVTWSI
+#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE
+#define CONFIG_SYS_I2C_SLAVE 0x0
+#define CONFIG_SYS_I2C_SPEED 100000
+#endif
+
/*
* Environment variables configurations
*/